Page({


    downloadFile(){
        var downTask = wx.downloadFile({
            url: 'http://dev.thinkphp.com//uploads/init.jpg',
            success: (result)=>{
                console.log(result.tempFilePath);
            },
            fail: ()=>{},
            complete: ()=>{}
        });
    }

})